﻿using SuperX.Common;
using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.DataService.Abstract
{
    public class IOTagValueInfo
    {
        public long AddressId { get; set; }
        public object Value { get; set; }
        public DateTime TimeStamp { get; set; }
        public QUALITIES Quality { get; set; }

        public IOTagValueInfo()
        {
            Quality = QUALITIES.OK;
        }

        public IOTagValueInfo(long addressId, object value)
        {
            AddressId = addressId;
            Value = value;
            Quality = QUALITIES.NG;
        }
    }
}